    <ul class="imgMenu fright">
    <?php foreach ($menu as $label => $url): ?>
        <li class="fleft">
            <?php if ($currentItem == $url): ?>
            <a href="<?php echo url_for($url); ?>" class="active"><img src="/images/menu/<?php echo str_replace('@', '', $url); ?>-b-01-active.jpg" alt="<?php echo $label ?>"></a>
            <?php else: ?>
            <a href="<?php echo url_for($url); ?>"><img src="/images/menu/<?php echo str_replace('@', '', $url); ?>-b-01.jpg" alt="<?php echo $label ?>"></a>
            <?php endif; ?>
        </li>
    <?php endforeach; ?>
    </ul>